<template>
  <div>
    <van-tabbar route>
      <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/search" icon="search">找房</van-tabbar-item>
      <van-tabbar-item replace to="/message" icon="todo-list-o"
        >咨询</van-tabbar-item
      >
      <van-tabbar-item replace to="/lookhouse" icon="setting-o"
        >我的</van-tabbar-item
      >
      <!-- 二级路由出口 -->
    </van-tabbar>
    <div>
      <keep-alive><router-view></router-view></keep-alive>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 'home',
    }
  },
}
</script>

<style></style>
